import request from '@/utils/request'

// 查询实名认证列表
export function listReal_name_auth(query) {
    return request({
        url: '/bizsys/real_name_auth/list',
        method: 'get',
        params: query
    })
}

// 查询实名认证详细
export function getReal_name_auth(id) {
    return request({
        url: '/bizsys/real_name_auth/' + id,
        method: 'get'
    })
}

// 新增实名认证
export function addReal_name_auth(data) {
    return request({
        url: '/bizsys/real_name_auth',
        method: 'post',
        data: data
    })
}

// 修改实名认证
export function updateReal_name_auth(data) {
    return request({
        url: '/bizsys/real_name_auth',
        method: 'put',
        data: data
    })
}

// 删除实名认证
export function delReal_name_auth(id) {
    return request({
        url: '/bizsys/real_name_auth/' + id,
        method: 'delete'
    })
}

// 导出实名认证
export function exportReal_name_auth(query) {
    return request({
        url: '/bizsys/real_name_auth/export',
        method: 'get',
        params: query
    })
}